# freetype

FREETYPE2_VERSION := 2.6.3
FREETYPE2_FILE := freetype-$(FREETYPE2_VERSION).tar.bz2

.sum-freetype: $(FREETYPE2_FILE)

freetype: $(FREETYPE2_FILE) .sum-freetype
	$(UNPACK)
	$(call pkg_static, "builds/unix/freetype2.in")
	$(MOVE)

DEPS_freetype = zlib $(DEPS_zlib)

.freetype: freetype
	sed -i.orig s/-ansi// $</builds/unix/configure
	cd $< && GNUMAKE=$(MAKE) $(HOSTVARS) ./configure --with-harfbuzz=no --with-zlib=yes --without-png --with-bzip2=no $(HOSTCONF)
	cd $< && $(MAKE) && $(MAKE) install
	touch $@
